package com.example.aoptest.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.aoptest.entity.User;
import com.example.aoptest.mapper.UserMapper;
import com.example.aoptest.service.UserService;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.Set;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
    public Set<String> getMenu(@Param("userId")Long userId){
        return this.baseMapper.getMenu(userId);
    }
}
